<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
    <title>登录</title>
    <link rel="stylesheet" href="/plug-in/layui/css/layui.css"  media="all">
    <link rel="stylesheet" href="/plug-in/layer/theme/default/layer.css"  media="all">
    <link rel="stylesheet" href="/css/index.css"  media="all">
</head>
<body background="/pic/background.jpg">
<script type="text/javascript" src="/plug-in/jquery-3.2.1/jquery-3.2.1.js"></script>
<script type="text/javascript" src="/plug-in/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="/plug-in/layer/layer.js" charset="utf-8"></script>
<script>
    var msg = "<%=request.getSession().getAttribute("msg")%>";
    $(function () {
        if (msg == 'null'){
            msg = "您已退出登录";
        }
        layer.alert(msg,function () {
            window.location.href = '/login/login.do';
        })
    })
</script>
</body>
</html>